program BotKorova;
var bytes:array [0..9] of boolean;
    i, rand:integer;
    s:string;
begin
  //randomize;
  {s:='';
  for i:=1 to 4 do begin
    rand:=random(9);
    
  end;  }
  writeln(random(9));
  readln;
end.